adding test snippets