Test environment for Phonegap