Passing tests on Python 3