Test using Pillow instead of PIL