Note: the checks for the tests marked as [test-dump] are done in the pytest function test_heap_trace_dump() since they are relying on the content of the heap_trace_dump_caps() output.