Fix the in-memory settings for sqlite in test