reformat test codes. renama UIException to Exception in UI package, rename UIObserver to Observer in UI package.