add coverage support
remove dead code from decode_response