Fixed server.py unittests