Added test class for ServerConnection class.