Adds tests for d3.svg.diagonal

Simple test coverage for d3.svg.diagonal, in the style of existing tests.  Addresses #550.  More missing tests to come.