add test snippets