Now using phantomjs for running functional tests headlessly.