Nit: I would prefer this be named `test_shared.py`, `test_utils.py`, or `utils.py` in a module named `test`.