Refine rspec, add link tests