test for phone gap apps