test snippets