added some unit test for reference counting in CList