Added test code for like event handling