Test passed for adding an image to posts