Fixed bug in ServerConnectionTests.py

Fixed bug related to server communication.