Change tests to accommodate pg differences.

Refs #2499
- Since PostgreSQL handles transactions differently than
  MySQL and SQLite3 there are differences in the way and
  number of errors that are returned.  Update tests to
  only check that at least one error of the proper type
  was returned.
Merge pull request #3840 from jaswilli/pg-import-test

Change tests to accommodate pg differences.