Fixes from pull request #1643

http://goo.gl/rSBoE2

Fixed array comparison method to Array.isArray() and added test for 'n' callback methods, as requested / discussed during pull request #1643 at link above.