Added Array.prototype.forEach() polyfill for tests.