More tests for sum().