Set up po service test in postgresql