Cleanup tests for memory-based sqlite dbs