Add tests for hexadecimal IP addresses