Added an old ReferenceCounter test.
Merge pull request #87 from davidhesselbom/master

Added an old ReferenceCounter test.