change a test to make it compatible with python 2.6