Uses Poltergeist for testing.