Fixed serialization problem of TestFailedDueToTimeoutException thrown from Eventually.