Added A new test and changed implementation of ienumerable