add tests & docs to Image