Tested imagemagick implementation

* ImageMagick implementation skips resize if type is NO_RESIZE
* Also prepared to make other resize implementations tests easier