Added tests for configuration errors