Made the change and fixed the test (see comment in `d3-test.js`).