Seems a bit like overkill, especially since we have other tests that import using a string and they just specify the string instead of building it like this (see `test_auth.py`).