Updated the tests for PostgresAdapter