[checkmk-commits] Check tests: Move logic for result assertion to BasicCheckResult class