added USE_REFERENCE_COUNTING check in CList unittests to prevent failure...

... when refcounting not used