Test for variable scoping in puppet