refactored tests

`GraphMap::add_node` returns `N` which is in the case of the tests `()`,
so replacing `node` with `()` is perfectly fine
2 files changed