added database test in routes/index.js