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