Fix testsuite, and cleanup the test in arpack

However, this test is not stable wrt compiler and architecture,
i.e. it needs some additional post processing.