Add test for nested lists