Fix for formatBytes method in co content returned

Hi,

There is an issue with `DebugClient::formatBytes()` method. In case call retunes no content, this method produces error.

I added a test case and a fix.