Added tests for snippet_resolver.