Update unittest for LLVM API change.