Adding tests for peer management resource.