For PhoneGapTesting