Test for phonegap