Tests interaction between the JIT and the method tracing functionality.