fix snippets testing