Fix ArraySchema::each and test it