TestBuildOutput done

Added more test cases to TestSetFuncString