Test for 127.0.0.1 at tests startup
Merge pull request #863 from hintjens/master

Test for 127.0.0.1 at tests startup
Fix cmake build