Move snippets to separate test in the examples testcase