Py2.4 test fix