Tests of phonegap logics