improved test operations

* some less includes
* replaced copy'n'paste comments
* removed empty destrucors
fixed inconsistent brace placement
tab to spaces
used more const refs on shared_ptr
moved registration of responseTask and updated comment