switching to int type for worker task constants and removing magic number from worker unit test