add tag_factory and update SnippetsControllerSpec#create