Introducing unit tests for DbMemory