Added more unit tests. Added ForEach() extension method.