fix test request is localhost