Added test with PostgreSQL database