added testcase for the generation of the shortest possible url
- kinda refs #369
- refs #233