testing phonegap with sample app location manager test build