add spec tests to Post model