Testing db code in app.js