Fix/8 single peer test

- adds logging
- fixes test case error (regex_search invocation)

sorry for everything in one commit, my GUI tool does not work in submodules
&lt;pedantic>
Missing whitespace
Wrong indent
&lt;/pedantic>