Fixed Postgres unit tests broken by making postgres silent

Signed-off-by: Tom Xing <xingzhou@cn.ibm.com>