Fix problems capybara, test links in layout