added Relation name matches foreign source name test to schema_sanity.t

New test has quite a few failures so this patch needs review. Comments in patch explain relation name test logic.