Modify tests to be compatible with Python2.6