IPv4Route: fixed NULL pointer usage: ipv4Data() == NULL was not checked
tests: logging-related fixes