tests:
-add have_selector
-add shared_examples_for
-add link checks
-refactor tests for original helper method