WIP : fixed cumsum/cumprod failures

 - ptp is a special snowflake
PEP8 : in tests