Fix multi-level config extraction
Add basic test for single level config