Unit tests for config file and config functions
Merge pull request #468 from ayushchd/unit_testing_2

Unit tests for config file and config functions