Lp 1730726: Fix a number of PgTap tests for PostgreSQL 10.