adjacency list tests