Fix JUnit imports in AttemptTimeLimiterTest

The import from deprecated package `junit.framework.*` caused a deprecation warning.