Direction test on a motor