Update tests for older PostgreSQL