Adding tests for ending tasktimes