testing items in d3 and angular