Make the batch class more testable
Merge pull request #7 from librato/feature/testability

Make the batch class more testable