Mocking xmlrpclib instead of pypy.client.

Also not testing all views in test_basics, that was a bad idea.