added capybara testing