add Pillow to travis config
fix import in tests