in memory persistance library implementing adapter for tests, doing db slightly differently, not yet working