add unit test for calculateSomme