mocked out database with in memory store