Adding tests w/ d3 javascript library