pypy: fix some tests, add install phase