This tests for a bug when replacing the contents of a list. The list shouldn't be removed, just its contents.