Move test to using in memory database.