Added a debugging method to check if a cohortmanager is a leader.
Updated leader test to actually determine if we had one and only one leader after running test.