https://medium.com/@ryk.kiel/mocking-unit-tests-in-python-enhancing-testability-and-test-coverage-59274f05eeda