Integration tests with Capybara, fixes #6