Added test with non-nested lists