added some helpers for document testing and simple post pages with images as a demo