Please Update with this Code. I made minor Changes .
If you see the Video , You will not Get test1 As Expected.