Added test cases. build_adjacency_list and initialize tested.