Introduce TestKind and TestContext
partest: collect all output
Sanity checks for log open/close
moar SI-7003