Add test for config file loading. Refs #3000.