Adding more tests for postgresql and redhat