The failed test comes amid heightened fears over the nuclear threat from North Korea.