Added Capybara tests