attempt to fix tests on 2.6

fixes tests on python 2.6