Adding unittest framework and a few basic tests for Python API generator