Defined unit test for the creation of a challenge and the acceptance/rejection of a challenge