Code cleanup, tests for participants views.