Add unit test for checking that we move outside the table