Add test for config loader