add tests to support Postgres SQL