This allows for adding more advanced tests, for example tests that use the compiler package so that test sources can be written in Go instead of LLVM IR.
By considering this as a regular transformation, it can be easily tested.