Add a test using a special shared transaction for in-memory database.