Test apply, map, filter, reduce functions.