Add pyuniotest class for unittest, but still lake mock server for test.
Fix fail of unittest.
Fix unittest failure in python 3.x.