Unit test for processor