Rename testProtocol to testMechanism in TestClient