add unit test for ui