Update tests and change dependencies

The tests have been updated to cover movies and file prefixes.
The dependency with PIL has been replaced with Pillow because PIL is pretty unmaintained since 2009 and Pillow is a maintained fork of PIL.