add tests for image.contain
update readme with image.contain