Extra test.
Implement reduce.
Replace all serial processing with one "process" function.