Add test case

Add some test case in push cordova project using nodeunit.
_test.js