tests crash PhantomJS on Travis CI