pretty nice helper. The ``__all__`` case might be too broad but it's probably fine for these tests.