Thread pool now works.

Test class used to run a few test batches for sake of debugging.