Test directed unweighted graph implementations