test: use local variable