update array test case
refactor TaskBuilder