There’s a Perl bug that interacts badly with this library, which can have the effect of giving a false positive even when the test function exits prematurely from die().
I’ve put up a sample breakage as well as a straightforward patch at:
https://github.com/adrianh/test-class/issues/24