Revised PostsController and TopicsController testing