test/random_permutations.cc used the old way of constructing sparse matrices.
Vector() has a constructor that wraps around a vector which is not to be deleted, but RefPointer always deleted the data at the end.
Specialize the test_eigs_eye() function for sparse matrices.
Follow exactly the same code in eigs_sp* as in eigs*