Add lit (from LLVM) to run the unit tests
fix regression in handling of undef values