tested if the ship gets hit correctly