unit test for moveRowRelative