Testing postgres connection.