add tests
fix bugs with dns and fqdn validations
fix documentation
Merge pull request #1 from rshallit/master

Tests, documentation fix, bug fix