Well Japan could move away a little bit to make some room for NK to conduct test in a safe way, or NK could out-source to Cuba to do some test.
Or you can remove the sanction they have been asking for ... all options are available ...