Write unit tests for task code
CLOSED - WONTFIX
We have some task functionality that I don't think QE can test with pulp-smash:
We need similar tests for Publications.
Also, it would be good to have a test to test out Task cancellation.