I got inspired from test_jwt.py, which uses this very pattern.
I put a TODO.