Two changes.

1. Pass correctly the prefs to linop/eigs.
2. Add tests.