start writing tests for D3