Fixed tests on LLVM 3.0