Added a few tests to the protocol block.