Make test pass on python 3.3