test console with phonegap