tweak a test for py2.6 compatibility