In the meantime it had tested an atom bomb for the first time.