Fixed missing argument to InitEvents in tests