Add automated JUnit testing for processor