Fixes #8

This should handle the missing trailing "/" in the URL. Also added another test case with missing "/"
Sure. Will do that tonight.