minor (not reported) bug fix + unit test
probable fix in unit test for PETScCusp - not tested
Merge changes from Jan Blechta.