use PhantomJS for tests