A testing to integrate with phonegap