improved PostsController's test and added TagsController's test