Fix Py26 test cases