Add `pub` to all the codegen tests

Otherwise the test function is internalized and LLVM will most likely optimize
it out.