Extracted config, use in-memory db for testing