map fn
double fn
addOne fn
reduce fn
sum fn
toArray fn
tests