tests (minor): Should use var for global variables.