Use path.resolve(__dirname, '404-parent') so this test works on Windows. See e.g. https://github.com/isaacs/npm/commit/36fa1c23f539a0751b539a89aa7ab5727d9ece60