Add tests for undirected Kronecker generation