added capybara test