updated tests and included Capybara