Add test cases for postgresql IPAddress