Added full test coverage to Processor class.