testing the phonegap framework with multiple platforms