testing phonegap hydration