Added event test to check performance and memory leaks