EntryProcesorTest Changes

1. Delay calculation fixed. Now the generated delay is always within the interval <minProcessorDelayMs, maxProcessorDelayMs>
2. Refactoring to make the run() method of worker more readable