Script code vanished when a test case is renamed

I have posted a new one about the same issue: