updated tests to threshold adjacency matrix to pass with new uptri and diag zero-ing