Re organized test method.
Created processor interface based on the SimpleProcessor.