testing phonegap to build a sample app