testing click event for success