preparing PostgreSQL for tests