test added for unrecgognized reference warn

fix up