a few d3.js tests