You are correct.  It helps to actually test against the python behavior.  Fixed and added some additional tests.