Add tests for edges.