generate internal config in-memory when running tests