Protocol error testing