Add tests for Reference::equals and fix found bug
Merge pull request #104 from wmde/refequals

Add tests for Reference::equals and fix found bug