Added unittests server.py - 100% coverage