Add unit test for adjacency mx functionality