Add unit tests for RedminLinkFunction and ExceptionUtil classes