add utilities,and refactor spec
use shared_examples
add rspec click_link
add utilities spec