Test reading config from file.