Remove the return value, and specialize the test function for PETSc only.