added tests for checking the car remain within the grid boundary