As to what to test, that depends what you're valid...
# puppet
b
As to what to test, that depends what you're validating. Puppet tests only validate what's in the catalog. If your code should generate an Augeas resource, that's what you can test