Prepended "cordova" to platform.

Also removed a test that wouldn't work properly on desktop.