trying to fix travis-ci builds: changed host name in tests from localhost to 127.0.0.1