Tests for the migration from dojo/_base/array to ES5 functions