Testing paths on phonegap