Intercept and mock Node modules while unit testing.