added more tests, started to test connections between endpoints