See https://packaging.python.org/en/latest/tutorials/packaging-projects/ and https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html#tests-outside-application-code. Need to make sure this does not negatively impact older versions of Python (3.7+).