Add missing tests for task completion.