add a judgment
remove test case because this issue had been fixed
Merge pull request #1233 from ruil2/interface_ut_1

    add a judgment