Integration test written with capybara-webkit to test adding permissions.