Add a unit test for testing the function 'ServerProtocol'.