test IOS' motion