`setup.py test` and `pytest-runner` are deprecated for security reasons (https://pypi.org/project/pytest-runner/). Need to update unit testing following current best practice, e.g. https://docs.pytest.org/en/stable/goodpractices.html.