Add tests for Processor class