Add tests for transforms endpoint

We need to ensure the task creator is called when
the transforms endpoint is called with a valid request.