Add test to check file based configuration works