Fixes #8

This should handle the missing trailing "/" in the URL. Also added another test case with missing "/"
Haven't checked yet. But it should. 
I am at work right now. Would it be possible for you to check?