testing forms in phone gap