Update test.inno to contain reset logic and to fix the bug with not-declared vars.