Testcase for the click element based implementation