I've added the copyright text from the original and noted the changes. I presume this is sufficient. The tests are unlicensed in the python source, and I'm keeping them that way here...I'm not entirely sure of the protocol here.