anchor.diff:      Publish1 = packet:gen_publish("sub/rewrite/topic", 0, <<"message">>, []),
       ok = packet:expect_packet(Socket, "publish", Publish1),
   
  -    disable_on_publish(),
  -    disable_on_subscribe(),
  +    disable_auth_on_publish(),
  +    disable_auth_on_subscribe(),
       ok = gen_tcp:close(Socket).
   
   
  
positive.code:     Subscribe = packet:gen_subscribe(3265, "dlvr/rewrite/payload", 0),
      Suback = packet:gen_suback(3265, 0),
  
      enable_on_subscribe(),
      enable_on_deliver(),
      enable_on_publish(),
  
      {ok, Socket} = packet:do_client_connect(Connect, Connack, []),
      ok = gen_tcp:send(Socket, Subscribe),
  
negative.code:     Subscribe = packet:gen_subscribe(3265, "dlvr/rewrite/me", 0),
      Suback = packet:gen_suback(3265, 0),
  
      enable_auth_on_subscribe(),
      enable_on_deliver(),
      enable_auth_on_publish(),
  
      {ok, Socket} = packet:do_client_connect(Connect, Connack, []),
      ok = gen_tcp:send(Socket, Subscribe),
  