Added test for Postgresql plugin.