adding more unit tests for config parsing

added several unit tests for config parsing to verify that the error
conditions are properly covered