test: move variable declarations