Enhancement: Validation Testing

- Adds more complete testing of the validation rules
I know...our own little version of urllib.parser.urlencode(). I did try that; however that caused other issues.
So for now, if there are objections can you please use another PR for it?