adding tests, a d3 requirement