adding tests,
adding doc,

adding category method for image to be resized