[Echo.App.ClientWidget] remove unnecessary function; [Echo.App] add test case for the static methods