added spec for post model