utils: polyfills for arrays
utils: adding tests