Make test pass on Python 2.7, 3.3