North Korea test-fired two suspected ballistic missiles about a week after it failed to put a spy satellite into orbit, in a show of defiance after the US sent a B-1B strategic bomber to airspace off the peninsula for military drills with South Korea.