Convert tests/test_participant.py to use Harness.

Relates to #540.