Fixed clang compilation error
Tests fixed to neglect  difference in default consul behavior on Windows and MacOS