More unit tests for catching specific exceptions in the configuration.