Tiny bugfix for the test cases
Push some stuff from (Un)Directed to the upper class -- metrics might need additional changes, esp. in terms of checking for more duplicated code