objects: add check_output struct definition

Whenever we pass output around, we almost always pass the same
three buffers. These are now grouped in a struct for convenience and
to enforce consistency.
document parse_output and do some memory housekeeping
test_checks: update test plan