Map reduce

You can run into a problem if you use basename; imagine that multiple map reduce tests are running in parallel.

Also I would suggest pulling out the results lists into the setup method, so that the getList is done there. And where the list is needed, you can just access the results list directly.