Fixes for github compatible webhooks and related tests