Fixing broken test and adding a new one to verify that the IPAddress is being logged.