Improve tests with shared examples, click_link and add application_helper