added integration test for capybara