Testing for PhoneGap App