Added tests for SUM relation aggregate node.