Checking pg_prove return