Fix eigenpair() bug and add a test for it