Added a testcase for detecting clicks
Detect clicks outside of the menu