Refactor the response writer mock having Body element.
Add unit test, testing if the right image will be returned.

For the parent image case.