better tests for: diff, map, reduce