added test for fmap on array