Adding a test to confirm behavior of a nested list