added test for reading references into list.