test the protocol