add validation tests for ipv4