fix testcase to validate as llvm ir
clean up some more tests/cases
add dependencies so code with exceptions (invoke/landingpad) but without an actual throw will still pull in the necessary stuff