Fix tests to match for full hostname