Test added for adding images to posts