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>
whitespace
&lt;/pedantic>