Adding JIT regression test for a re-morph optimization.