use a db for testing