Fix report tests.

Add ip address retrieval where possible, slightly altered logic.
```re.compile(r"^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$")``` will match all LEGAL IP addresses
```re.compile(r"^(\d{1,3}\.){3}\d{1,3})$")``` is simpler than above, but will match up to 999.999.999.999