test for phonegap application