simplified peer manager test case