[WIP]add test cases for #875, #874, buildTags, type interface match,fix false test case bug in #858.

add test cases for #875, #874, buildTags, type interface match,fix false test case bug in #858.