tests for ensuring that the click handler is set