small fixes and improvements
added workers unittests