Improves error checks in constructor and adds tests
Minor improvements in test class
Merge pull request #4 from nsendetzky/master

Improves error checks in constructor and adds tests for URL helper