Fix behat tests (events)

#5051