few test to posts_controller