update tests to pass on python 2.7
tests pass everywhere