add support for PETSc tests