Unit tests for config loader