SERVER 14652 update tests for localhost exception