added testcase for the generation of the shortest possible url
- kinda refs #444
- refs #308