add unit tests for VariableConfig::generateValue