Added a few unit test for funtionary and participant