Add unit test for EmsManagerUtil.