simple-thresholding: Refactor tests. Add new tests for simple thresholding
simple-thresholding: Fix scale for thresholdedImage and drawBlocks
simple-thresholding: Implement delegate-based custom thresholding. Fix tests.