removed forEach from tests, for ie compatibility