node js and cordova testing