Add negative duration check for unit tests
Add negative duration check for unit tests

- The new`targetTimestamp` property causes the duration to be a negative value during the unit tests. Added an additional check to handle this case.

dreampiggy/SDWebImage,rs/SDWebImage,dreampiggy/SDWebImage,dreampiggy/SDWebImage