testing phonegap 3 plugin