Virgin Galactic has been granted a license by U.S. authorities to restart testing of its rocket plane following a fatal crash in 2014.