Add a regression test for webhooks