Some beginning work on tests. Updated the Post model and the creation of posts