e.g. pins includes a function that package authors can use to test that their pins class follows the specification. But because (IIRC) the expectations are not in the tests/ directory, it's hard to figure out what test has failed. In this case it would be nice for failed expectations to include a back trace so that you can track back to exactly what went wrong.