Fix tests on py26.