Fix test case due to r196394 and improve it to not rely on LLVM code generation either.