Feature/unit test db manager