res and fs passing into test.js