test formatDuration and add leading zero for minutes < 10