Added protocol tests for connecting to the server