Test the logic for reading configuration file.