Add and configure capybara and other testing libraries