Add regression tests for pg_relation_is_scannable().