Resolve errors in unit tests in Python 2.6.