updating unit tests, getting d3 integration to work