fixes for py26, py34 tests