Added test for enumerating through a IEnumerable<T> list and inferring type.

Associated commit DatabaseObjects:
9b815c291990392d9f83e202fa9690463819d959