Fixing ImageStorageTest.php, minor improvement in ImageProcessingListener.php