Added tests to ShipTest.java