add config validation tests
add config validation for URLs
Merge pull request #39 from maxlinc/validation

URL validation