Fix digraph tests