add PhantomJS headless testing