Set a test for pytest to check wether the output files were created or not. If possible, check file size to ensure the image is not empty.