processor working unit bug

fixed: some processes never finish
processor working unit & processor tests fixes