Set 'in-memory' env variable for testing.