Added tests around the LegacyMotionSensor