Fixing unit test for Module Events