add unit tests for DoingTask