Reduce duplication testing link_to helper