Added a test to check if postgresql is installed.