Added tests for References, ReferenceSets