connected to psql db and running test queries