Some tests with PhoneGap compilation