finished creation of post model along with associated testing