update test for phonegap