switch to capybara/poltergeist and add more integration tests