Add test case

Add some test case in push cordova project using nodeunit.
Please run ":%!python -m json.tool" in VIM for cleanup indentation.