Test DB with phonegap