Add python unittest snippets