Refactored shipShouldOccupyOnlyOneSquare test