Adding test for reduce and removing map method from the Array extension - it seems Array already has a map method.