processing tests and snippets