Refactor peergrouper tests to avoid cycle imports

The tests for peergrouper, being part of peergrouper package
would trigger an import cycle if anything under apiserver
imports peergrouper.
The tests where refactored to use the export_test pattern
so all tests are under peergrouper_test package