Test the basic structure by having a method that visualizes the adjacency list.