added tests for adjacency