api functions to add, get, list and remove webhook events
full testing for webhooks api function
segment and re-write tests definitions