Add spec for summary calculation