path.resolve in unit tests as well; that's right, I said unit tests