Fix broken test case on PG
Merge pull request #617 from grimradical/test-fix

Fix broken test case on PG