Create pyunit.py

These are the unittest test cases