PostsController tests clean up.
Merge pull request #2004 from velesin/posts_controller_tests_refactoring

PostsController tests clean up.