Added test for updating end time of multiple Tasks