Unit tests shouldn't have an impact on the filesystem.
You can have a look at [the existing tests](https://github.com/dustin10/VichUploaderBundle/tree/master/Tests/Storage) to see how to avoid it.