update db.md
add a test database
update app.py