add capybara and wrote a demo integration test