Hmm, not sure. I know we used to have a bunch of unit tests around this code so I know it all worked once. I just found a bunch of tests that are in our product repo. For some reason they didn't get moved over to NuPIC. I just spoke to @scottpurdy and he will add them in.

BTW, this class is not actively used right now to my knowledge. However I think it could be useful.  This sensor is very fast, and supports binary formats. It could potentially be used for the pass through encoder.