Add element checking to ienumerable test