changes to MotionTest