Skip tests when imagick is not installed
Added prev exception