First attempts at DB unit tests.