added test for incoming peer