Replace PIL with Pillow
Fixed all tests