Cleanups and fixes with r=peterbe
* Adds a config file for test_serverstatus.py
* Mocked class for the mock