Switch to string comparisons for this test

The change works both in the Postgres branch and master