With the experience of #180 and #179 it would be desirable to have at least basic test coverage for the Web API. That would have caught these bugs. In particular testing both on Linux and Windows on a clean install is a great help.
Relevant projects:
My current idea is to implement something using pytest-asyncio, which then is also less dependent on tornado, should we get the idea of using a different framework for the web API
There is an active fork of pytest-tornado that is published at https://pypi.org/project/pytest-tornado5/ - this may be another option that could be more straight-forward than using pytest-asyncio. As an example project using pytest-tornado (not the fork though) I looked at jupyterhub:
Looks simple enough! :-)
Maintenance discussion: https://github.com/eugeniy/pytest-tornado/issues/41