Added test for list