The warning from the U.S., South Korea and Japan comes amid signs Pyongyang could be close to conducting its first such test since 2017.