for motion sensor test