Possible fix for issue #136.
Remove debugging prints.
Add regression test.
Nit: make line spacing consistent.
Merge pull request #137 from enthought/fix-threshold-update-ranges

Fix TraitError from Threshold._update_ranges.