Fixed excessively strict notices test

Failing with PG 9.4 because it generates other debug messages during the
test run (rehashing catalog cache).