Makes the unit tests work in Python 2.6