Add tests for the processing module