Tell the test observer only after the task is done.

This prevents a race condition, where sometimes the validator runs
before the last task gets tagged as processed.