Adding D3 test cases and src files