Added some test cases for the configuration class
minor changes