I tried to write two further tests to ensure the other branch but was unable to determine the correct snapshots to use as fixture data.

I think another test that verifies that the prediction line does NOT get capped if the slope is <= 0 would be good.