tests: graph: strong connected components

Signed-off-by: Yibo Cai <cyb70289@gmail.com>