calculateSum tests added.