changes for easier testing
add a test for an IP address