use 127.0.0.1 in some tests instead of localhost