Testing phonegap with Directory Backbone