Added a latency probe to Entry Processor test

+ StringUtils refactored