D3 tests. Learning d3 with examples