Add some basic unit tests for the binarizer.