Changed Test accordingly for change Attribute from duration to time