Renumber data aggregation session
Add alternative coverage of writing functions