Fixed sitelink tests

* fixed broken selectors due to additional span element for badges
* fixed de sitelink testcase to work for beta-wiki and wikipedia