fixed testsuite for py26 compatibility