Unit test : Chrome and PhantomJS