Fix var declarations on running the tests.