NASA successfully tested a nuclear reactor that works in space