Created tests for creating new posts
Fixed issue with FactoryGirl