For PhoneGap tests