Use PhantomJS and Poltergeist for tests