Replaced two hardcoded thresholds with conf file options (so that unit tests can be run under the same conditions as before)