added capybara integration tests