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

...ared vars.