tests work, but fail...

need to figure out what is going wrong.  might also want to start with
tests that the python implementation gets right.  which I neglected to
do...