pypy compat: Fix various tests
pypy compat: Fix greenio test_del_closes_socket test
pypy compat: Fix greenio tests
pypy compat: Fix refcount tests