added forEach test