add one more test case

According to a NPE defect scenario, one more test case added for it.

When FK_Table's PRIMARY is also FK, fk_index is null