Stubbed unit tests for Task.