Forgot to delete RefCount object when done.
Merge pull request #2228 from tklein23/fix_refcount_unittest_leak

Forgot to delete RefCount object (in unittest) when done