Switch to pytest from standard lib's unittest
I did a code review of my test code and switch all of that to pytest, which is not in the standard libs, but so much nicer! Please prepare to use pytest for your own tests as well. It works well with PyCharm, details at https://docs.pytest.org/en/6.2.x/