Test case 1 not passing

All the test case are passing. But test case 1 is not passing. I am using insert function which inserts * in between and moves the characters by 1 position automatically.

I understood the mistake