Merge "add unittest framework for supporting unittest in testAPI"