Add simple test for aggregates.

Also put a little TODO reminder.