Add some validation and more tests
Merge pull request #59 from puppetlabs/more_tests

Add some validation and more tests