Fix the test script for the move the offset element