Use inmemory backend in tests.