initially , the nuclear weapons institute believed that an atomic bomb would be ready for installment on a medium- to short-range missile after ground simulation tests for missile flight environment , detonation test , full-range flight test of the detonation control system , and underground tests of the performance of the nuclear warhead .