Changed mapping of name to shortname (which is part of URL), so it will
work for german language. Also added a test.