More tests

Tests for `Graph#partitionBy(EdgePartition2D)`, `Graph#mapTriplets`, and `EdgePartition`.