d3 tests