Added test for cancellation as per normal pattern.

This will prevent the loader doing anything if it is cancelled
before execution starts, for example if blocked in a queue of
other AsyncTasks.
Merge pull request #123 from novoda/cancel-task-improvement

Added test for cancellation as per normal pattern.