PLA-432: simplify getHub (only one hub per wiki), added unittest