fixing path to snapshot and phantomjs