Remove debug parameter from loopClient
Merge branch 'master' into dev
Refactor tests to be per-type of operation, reduce boilerplate