Add test for perform all task, fixed perform all task