fix checking function duplication
fix ignoring the failure of test for llvm 3.5