demo and test code of WCFramework