Added smoke tests for postgresql.