Fix tests under Python 2.4 and 2.5
Release 1.8.1
Post-release version bump