testing phonegap connect ot web services