Add some tests (one failing) for failures in ExUnit callbacks

I suspect the failure is due to an actual bug, hence the commit
with a failing test case.

The failing case is in a teardown btw.