add task rest cases