Fix this test so it works when the tests are running on something other than "localhost".

Thanks for the suggestion & report Sridhar