Added test case for lists