Added tests for Postgres schema dump fix