Updated the tests for IPAddress and CIDR validators to work with older version of unittest.