Added KickBox error logging test

- Refactored _getResponse() to _getResponseBody(), introduced _getResponse() for testability
- Tested error logging