add warning for unrecognized references
test added for unrecgognized reference warn
fix up
Merge pull request #215 from alikh31/alikh31/issue#38

Add warning for unrecognized references, Fixes #38