pass tests on pypy