#26 Added tests for server.py