Added test cases for short and finite list to DemoUI