Fix scope change calculation.
Add unit test for sprint statistics calculation (to complete)