testing phone-gap