Ships out of bounds tests on x and y axis