rspec tests and factories for post creation