use localhost instead of kestrel in test