MDL-40062 mod_forum: add event unit tests