testSha{Cache,Dir}: decorate broken asserts instead of whole test cases