update testing snippets