[ActiveJob] Add hook for test_framework and test templates