KG|BMM: added tests for debug mode, checking prevent default behaviour on links