Fixed a bug where TestShip objects would be destroyed before fragments could be created.