avoid localhost resolution in tests