fix testing for py 2.6