Add digraph tests