Testing a Python server