d3js testing