This is in preparation for enabling the tests for FIR which will be easier to do when the tests are on the new infrastructure.
Allow specifying JVM and JVM_IR as well as shared expectations. Add the method name to the step. Discard steps in synthetic methods.