tests for left-to-right binarization