Testing phonegap-detection