added tests for ui