Fix bug crash in XVimTester on ARC

Fixed the bug running test several times in a row causes crash.