Define in-memory db for unit testing