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
<pedantic>
Wrong indent
</pedantic>