add tests for challenge model