Add test for #4877

Appending into list properties does not mark them dirty, one must
manually mark list properties as dirty.

Refs #4877