add test for SnippetUpdateView