update tests for py26 compatibility