Added unit test for MinMaxThreshold.checkRange method