Finishing up test for polity with fixes to establishing consensus