Bug 1006023 - [testing] Write a test for abandoning a task

All the tests pass for me locally.
How about changing this to just `is_task_not_in_progress` and the other to `is_task_in_progress`? Those seem like better names to me.