fix events behat tests.
Merge pull request #5072 from openscholar/5051-tests-fix

Fix behat tests (events)