test case for UI