HH-48945 use 127.0.0.1 instead of localhost for forcing using ipv4 (fix failing tests in OS X)
HH-48945 make tests more solid: use abs paths, use full imports