Changed visibility of private class ListEnumerator and changed return type of getEnumerator from ListEnumerator to IEnumerator<T>.
Added test for getEnumerator.