Create unit-test for check calculate sum of points