Corrected set up of webhook entity in test.