Setup phantomjs testing