Add test case to ensure the removal of dynamic added Task field.