Improve tests: shared examples, click links, application helper