[NSArray] Added test for some functional methods.