Testing imagemagick and graphicsmagick