Added url_test, top-level page test.
Improved error reporting for invalid input.
Merge pull request #44 from rhayes-cida/master

Added url_test, improved error reporting for invalid input.