Tests updated to use PhoneGap 3.1 directly