set localhost for test env