Remove Matrix-requiring igraph invocations from tests