fixed class problem when rotating ship
added test for splitShipType