Added a test query to the setup of postgres