add code snippet: Basic Example of unittest.