some tests with phonegap & plugins