movement test code