cumprod oxgen and unit tests