Format tests with checkEdge method