Add integration tests and Capybara