Made the tests happy for python 2.6