sync cordova-mobile-spec test into cordova-plugin-device-motion