phonegap plugin testing