speed up tests

The creation and deletion of resolvers and realms was
moved from setup to __init__.
Thus the realms will not be created and deleted per test
but rather created and deleted per test class.