refactoring and tests

My Enumerable implementation sucks. That's why the tests use a
funky #each structure to get the array; I guess it's better than
reaching into the DomainList and grabbing the list directly. Need
to dig into the Enumerable code and figure out how to implement
this better.