Added tests for the click() function in crawlSpecification