Added python test snippets