[ActiveJob] Add hook for test_framework