The original tests looked like helpers,
but we are guessing that they were supposed
to be tests.
Additionally, one test had a small bug as written.
It would be more resilient to actually parse the
JSON, but that work is being left for a later time.
For now, it works, but is not resilient.
The original PR can be found here:
https://github.com/openedx/edx-platform/pull/10804