getDuration return type change and TimeReportService integration tests added