Add groups to server

I didn't want to touch the contacts tests too much, be we can separate them. Just to be clear, do you think we should move the `Mixin` classes to separate files, and keep the main testing framework in `test_server.py`?