added 2 tests, see: posts_controller_spec.rb