Create a test for postgresql check