Make tests pypy compatible.