Validating config hash; adding test coverage for newer puppet and ruby versions