UPD fixing a bug where we were checking for our event specific logic on all the events
ADD a test helper for testing the before controller processing event
UPD adding tests for the before processing event