fixture file extension changed from .js to .json since json format is required. updated path.existsSync to fs.existsSync for newer versions of node.