Enumerable exception with test