Creating some test cases for custom event system.