added phonegap and test file