Add tests for transforms endpoint

We need to ensure the task creator is called when
the transforms endpoint is called with a valid request.
Merge pull request #397 from alphagov/transform-endpoint-tests

Add tests for transforms endpoint