use in-memory persistence for speed in tests