Code cleanup

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Add unittest with multiple workers

This tests that the work is split across the workers.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>