KG|BMM: added tests for debug mode, checking prevent default behaviour o...

...n links