Improve underscore.js compatibility

Aとごかん
Add test for array function