Bug 690307 - add more tests for the localhost + spaces case, r=mak