Add strict_variables support in unit tests
Fix undeclared variables

This commit fixes errors that show up when enabling strict_variables
in the puppetmaster configuration.