added a test for custom processor.