Attempt to add a reasonably complex integration test.

This codebase adds an actual map-reduce integration test. I also cleaned
up the logging config.