Add directed prop to the test suite.

This may or may not be a stopgap; if I eventually decide it's a good
idea to add a graph method that reports its edge types (directed or
not), then this will become unnecessary.