Fixed a testGetGeoIP test

Other changes are due to newlines being appended in the save?