moved tests to a simpler in-memory db