Add test for calculating sum of ages

Signed-off-by: Dieter Scholz <disc@code2bytes.org>