new tests for peer manager