com.uber.cadence.internal.external.ManualActivityCompletionClientImpl#fail method does not set activityId on the instance of RespondActivityTaskFailedByIDRequest, which causes com.uber.cadence.internal.testservice.ActivityId#ActivityId(java.lang.String, com.uber.cadence.WorkflowExecution, java.lang.String) constructor to throw NullPointerException