Adding test case for (list)