Added tests for ToleranceComponent