Currently processing does not have unit tests for PImage class. After adding tests for math related functionalities, I think this should be the next priority as it can help us verify correctness of important image related functions which are widely used in many of the processing's sketches.