implemented vertex count and more tests

implemented functionality of some tests (vertex count)

and added some new tests for getting connected nodes