test for phonegap app