Fix for TestFailedDueToTimeoutException serialization problem

Fixed serialization problem of TestFailedDueToTimeoutException thrown from Eventually.