Fix for formatBytes method in co content returned

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