test, add regressions for adjustments with more CA data than time series
minor, cope with time series that end prematurely in total return mode
hygiene, avoid code duplication by ascertaining that last is set
Merge branch 'core/total-return-adjustments'

* core/total-return-adjustments:
  hygiene, avoid code duplication by ascertaining that last is set
  minor, cope with time series that end prematurely in total return mode
  test, add regressions for adjustments with more CA data than time series